package yzy.test;

import org.apache.catalina.LifecycleException;
import yzy.test.core.ClassScanner;
import yzy.test.starter.MiniApplication;
import yzy.test.web.server.TomcatServer;

import java.util.ArrayList;
import java.util.List;


/**
 * 通过localhost而不是127.0.0.1来进行接口请求，
 * 具体原因还没找到呢
 */
public class Application {
    public static void main(String[] args) {
        MiniApplication.run(Application.class, args);

        TomcatServer tomcatServer = new TomcatServer(args);
        try {
            tomcatServer.startServer();
        } catch (LifecycleException e) {
            e.printStackTrace();
        }

    }
}
